<%--
  Created by IntelliJ IDEA.
  User: 10953
  Date: 2021/1/26
  Time: 20:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>记账页面</title>
</head>
<body>
<h1>记账</h1>
<form action="insertBill" method="post">
<p>
    类型:
    <c:forEach var="type" items="${types}">
        <input type="radio" value="${type.id}" name="typeid">${type.name}
    </c:forEach>
</p>
<p>标题:<input type="text" style="width: 500px" name="title"></p>
<p>日期:<input type="text" style="width: 100px" name="billtime">
   金额:<input type="text" style="width: 60px" name="price">
</p>
<p>说明:<textarea cols="50" rows="4" name="explains"></textarea></p>
    <input type="reset" value="重置">
    <input type="submit" value="保存">
    <input type="button" value="返回">
</form>

</body>
</html>
